export async function getProvinces() {
  const procinces = [
    {
      provinceId: "330000000000",
      simpleName: "浙江",
      lon: "120.153576",
      cityId: "0",
      prePinYin: "Z",
      pinyin: "Zhejiang",
      id: "330000000000",
      parentId: "0",
      level: 1,
      areaName: "浙江省",
      simplePy: "ZJ",
      zipCode: "",
      lat: "30.287456",
      countyId: "0",
      wholeName: "中国,浙江省",
    },
    {
      provinceId: "340000000000",
      lon: "117.210813",
      simpleName: "山东",
      lon: "117.210813",
      cityId: "0",
      prePinYin: "S",
      pinyin: "Shandong",
      id: "340000000000",
      parentId: "0",
      level: 1,
      simplePy: "SD",
      zipCode: "",
      lat: "36.061389",
      countyId: "0",
      wholeName: "山东省",
    },
    {
      provinceId: "350000000000",
      lon: "113.665412",
      simpleName: "福建",
      lon: "113.665412",
      cityId: "0",
      prePinYin: "F",
      pinyin: "Fujian",
      id: "350000000000",
      parentId: "0",
      level: 1,
      simplePy: "FJ",
      zipCode: "",
      lat: "26.074507",
      countyId: "0",
      wholeName: "福建省",
    },
    {
      provinceId: "410000000000",
      lon: "113.30765",
      simpleName: "河南",
      lon: "113.30765",
      cityId: "0",
      prePinYin: "H",
      pinyin: "Henan",
      id: "410000000000",
      parentId: "0",
      level: 1,
      simplePy: "HN",
      zipCode: "",
      lat: "34.757975",
      countyId: "0",
      wholeName: "河南省",
    },
    {
      provinceId: "420000000000",
      lon: "114.17335",
      simpleName: "湖北",
      lon: "114.17335",
      cityId: "0",
      prePinYin: "H",
      pinyin: "Hubei",
      id: "420000000000",
      parentId: "0",
      level: 1,
      simplePy: "HB",
      zipCode: "",
      lat: "30.546137",
      countyId: "0",
      wholeName: "湖北省",
    },
    {
      provinceId: "430000000000",
      lon: "112.982279",
      simpleName: "湖南",
      lon: "112.982279",
      cityId: "0",
      prePinYin: "H",
      pinyin: "Hunan",
      id: "430000000000",
      parentId: "0",
      level: 1,
      simplePy: "HN",
      zipCode: "",
      lat: "28.112752",
      countyId: "0",
      wholeName: "湖南省",
    },
    {
      provinceId: "440000000000",
      lon: "113.29113",
      simpleName: "广东",
      lon: "113.29113",
      cityId: "0",
      prePinYin: "G",
      pinyin: "Guangdong",
      id: "440000000000",
      parentId: "0",
      level: 1,
      simplePy: "GD",
      zipCode: "",
      lat: "23.12911",
      countyId: "0",
      wholeName: "广东省",
    },
    {
      provinceId: "450000000000",
      lon: "106.504962",
      simpleName: "广西",
      lon: "106.504962",
      cityId: "0",
      prePinYin: "G",
      pinyin: "Guangxi",
      id: "450000000000",
      parentId: "0",
      level: 1,
      simplePy: "GX",
      zipCode: "",
      lat: "23.113064",
      countyId: "0",
      wholeName: "广西壮族自治区",
    },
    {
      provinceId: "460000000000",
      lon: "104.065735",
      simpleName: "海南",
      lon: "104.065735",
      cityId: "0",
      prePinYin: "H",
      pinyin: "Hainan",
      id: "460000000000",
      parentId: "0",
      level: 1,
      simplePy: "HN",
      zipCode: "",
      lat: "20.029979",
      countyId: "0",
      wholeName: "海南省",
    },
    {
      provinceId: "500000000000",
      lon: "101.778916",
      lon: "101.778916",
      cityId: "0",
      prePinYin: "C",
      pinyin: "Chongqing",
      id: "500000000000",
      parentId: "0",
      level: 1,
      simplePy: "CQ",
      zipCode: "",
      lat: "29.56301",
      countyId: "0",
    },
    {
      provinceId: "510000000000",
      lon: "108.320007",
      simpleName: "四川",
      lon: "108.320007",
      cityId: "0",
      prePinYin: "S",
      pinyin: "Sichuan",
      id: "510000000000",
      parentId: "0",
      level: 1,
      simplePy: "SC",
      zipCode: "",
      lat: "30.395555",
      countyId: "0",
      wholeName: "四川省",
    },
    {
      provinceId: "520000000000",
      lon: "106.278179",
      simpleName: "贵州",
      lon: "106.278179",
      cityId: "0",
      prePinYin: "G",
      pinyin: "Guizhou",
      id: "520000000000",
      parentId: "0",
      level: 1,
      simplePy: "GZ",
      zipCode: "",
      lat: "26.582347",
      countyId: "0",
      wholeName: "贵州省",
    },
    {
      provinceId: "530000000000",
      lon: "102.712251",
      simpleName: "云南",
      lon: "102.712251",
      cityId: "0",
      prePinYin: "Y",
      pinyin: "Yunnan",
      id: "530000000000",
      parentId: "0",
      level: 1,
      simplePy: "YN",
      zipCode: "",
      lat: "25.040609",
      countyId: "0",
      wholeName: "云南省",
    },
    {
      provinceId: "540000000000",
      lon: "91.132217",
      simpleName: "西藏",
      lon: "91.132217",
      cityId: "0",
      prePinYin: "X",
      pinyin: "Xizang",
      id: "540000000000",
      parentId: "0",
      level: 1,
      simplePy: "XZ",
      zipCode: "",
      lat: "29.660361",
      countyId: "0",
      wholeName: "西藏自治区",
    },
    {
      provinceId: "610000000000",
      lon: "108.948024",
      simpleName: "陕西",
      lon: "108.948024",
      cityId: "0",
      prePinYin: "S",
      pinyin: "Shaanxi",
      id: "610000000000",
      parentId: "0",
      level: 1,
      simplePy: "SX",
      zipCode: "",
      lat: "34.265595",
      countyId: "0",
      wholeName: "陕西省",
    },
    {
      provinceId: "620000000000",
      lon: "107.971924",
      simpleName: "甘肃",
      lon: "107.971924",
      cityId: "0",
      prePinYin: "G",
      pinyin: "Gansu",
      id: "620000000000",
      parentId: "0",
      level: 1,
      simplePy: "GS",
      zipCode: "",
      lat: "36.058039",
      countyId: "0",
      wholeName: "甘肃省",
    },
    {
      provinceId: "630000000000",
      lon: "87.617733",
      simpleName: "青海",
      lon: "87.617733",
      cityId: "0",
      prePinYin: "Q",
      pinyin: "Qinghai",
      id: "630000000000",
      parentId: "0",
      level: 1,
      simplePy: "QH",
      zipCode: "",
      lat: "36.623178",
      countyId: "0",
      wholeName: "青海省",
    },
    {
      provinceId: "640000000000",
      lon: "96.158068",
      simpleName: "宁夏",
      lon: "96.158068",
      cityId: "0",
      prePinYin: "N",
      pinyin: "Ningxia",
      id: "640000000000",
      parentId: "0",
      level: 1,
      simplePy: "NX",
      zipCode: "",
      lat: "38.46637",
      countyId: "0",
      wholeName: "宁夏回族自治区",
    },
    {
      provinceId: "650000000000",
      lon: "87.687317",
      lon: "87.687317",
      cityId: "0",
      prePinYin: "X",
      pinyin: "Xinjiang",
      id: "650000000000",
      parentId: "0",
      level: 1,
      simplePy: "XJ",
      zipCode: "",
      lat: "43.953488",
      countyId: "0",
      wholeName: "新疆维吾尔自治区",
    },
    {
      provinceId: "710000000000",
      lon: "123.429096",
      lon: "123.429096",
      cityId: "0",
      prePinYin: "T",
      id: "710000000000",
      parentId: "0",
      level: 1,
      simplePy: "TW",
      zipCode: "",
      lat: "41.796767",
      countyId: "0",
      wholeName: "台湾省",
    },
  ];

  return new Promise((resolve) => {
    resolve(procinces);
  });
}

export async function getCities(parentId) {
  const cities = [
    {
      proinceId: "460000000000",
      simpleName: "海口",
      lon: "110.33119",
      cityId: "469005000000",
      prePinYin: "H",
      pinyin: "Haikou",
      id: "469005000000",
      parentId: "460000000000",
      level: 2,
      simplePy: "HK",
      zipCode: "",
      lat: "20.044002",
      countyId: "0",
      wholeName: "海南省海口市",
    },
    {
      proinceId: "460000000000",
      simpleName: "三亚",
      lon: "109.508268",
      cityId: "469006000000",
      prePinYin: "S",
      pinyin: "Sanya",
      id: "469006000000",
      parentId: "460000000000",
      level: 2,
      simplePy: "SY",
      zipCode: "",
      lat: "18.247872",
      countyId: "0",
      wholeName: "海南省三亚市",
    },
    {
      proinceId: "460000000000",
      simpleName: "万宁",
      lon: "110.389324",
      cityId: "469007000000",
      prePinYin: "W",
      pinyin: "Wanning",
      id: "469007000000",
      parentId: "460000000000",
      level: 2,
      simplePy: "WN",
      zipCode: "",
      lat: "18.796216",
      countyId: "0",
      wholeName: "海南省万宁市",
    },
    {
      proinceId: "460000000000",
      simpleName: "文昌",
      lon: "110.753975",
      cityId: "469023000000",
      prePinYin: "W",
      pinyin: "Wenchang",
      id: "469023000000",
      parentId: "460000000000",
      level: 2,
      simplePy: "WC",
      zipCode: "",
      lat: "19.543389",
      countyId: "0",
      wholeName: "海南省文昌市",
    },
    {
      proinceId: "460000000000",
      simpleName: "儋州",
      lon: "109.576782",
      cityId: "469004000000",
      prePinYin: "D",
      pinyin: "Danzhou",
      id: "469004000000",
      parentId: "460000000000",
      level: 2,
      simplePy: "DZ",
      zipCode: "",
      lat: "19.576665",
      countyId: "0",
      wholeName: "海南省儋州市",
    },
  ];
  return cities;
}
